<html>
<head>
<title></title>
</head>
<body>
<?=header('Content-type: text/html; charset=utf-8')?>
<?php if (!$author): ?>
		<form method="post" action="http://<?=$_SERVER['HTTP_HOST'].'/hotelbooking/index.php/login'?>">
		User Name : <INPUT TYPE="text" NAME="username" size="40"><BR>
		Password    : <INPUT TYPE="password" NAME="password" size="40"><BR>
		<INPUT TYPE="submit" name="login" value="Login">
		</form>
<?php else: ?>
		<?php if (!$login_succ): ?>
				<?=$word?>

		<?php else: ?>
				<?=$this->encrypt->decode(get_cookie('m_name'))?>
				<BR><A HREF="http://<?=$_SERVER['HTTP_HOST'].'/hotelbooking/index.php/backend/'.$this->encrypt->decode(get_cookie('role')).'/settings'?>">backoffice</A>
		<?php endif; ?>
<?php endif; ?>
</body>
</html>